import VueRouter from 'vue-router'
import PageOne from '../pages/PageOne'
import LoginView from '../pages/LoginView'

const router =  new VueRouter({
    mode:'history',
    routes:[
        {
        path:'/session',
        component:PageOne,
        meta:{title:'主页'}
    },
    {
        path:'/login',
        component:LoginView,
        meta:{title:'登录'}
    },
    
    
    ]
})

export default router